@mixin initStatus {
  transform: translate3d(0, 2.5rem, 0);
  opacity: 0;
}

@mixin finalStatus {
  -webkit-transform: none;
  transform: none;
  opacity: 1;
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(.8);
  }

  14% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeInDown1 {
  0% {
    @include initStatus;
  }

  28% {
    @include initStatus;
  }

  100% {
    @include finalStatus;
  }
}

@keyframes fadeInDown2 {
  0% {
    @include initStatus;
  }

  42% {
    @include initStatus;
  }

  100% {
    @include finalStatus;
  }
}

@keyframes fadeInDown3 {
  0% {
    @include initStatus;
  }

  56% {
    @include initStatus;
  }

  100% {
    @include finalStatus;
  }
}

@keyframes fadeInDown4 {
  0% {
    @include initStatus;
  }

  70% {
    @include initStatus;
  }

  100% {
    @include finalStatus;
  }
}

@keyframes fadeInDown5 {
  0% {
    @include initStatus;
  }

  84% {
    @include initStatus;
  }

  100% {
    @include finalStatus;
  }
}

.withAnimation {
  .subTitle {
    animation: fadeInDown1 1.3s;
  }

  .title {
    animation: fadeInDown2 1.3s;
  }

  .label {
    animation: fadeInDown3 1.3s;
  }

  .description {
    animation: fadeInDown4 1.3s;
  }

  .button {
    animation: fadeInDown5 1.3s;
  }

  .icon {
    animation: fadeInScale 1.5s;
  }
}

.banner {
  width: 100%;
  padding: 10rem 8rem;
  overflow: hidden;
  border-bottom: 1px solid var(--semi-color-border);

  :global {
    .semi-row-flex {
      height: 100%;
    }
  }

  .icon {
    width: 920px;
    position: relative;
    border-radius: 8px;
    height: 32.5rem !important;
    border-bottom: 1px solid var(--semi-color-border);
    background-image: var(--banner-icon);
    background-size: 100% 100%;
  }

  .container {
    display: flex;
    flex-direction: column;

    .title {
      font-weight: 700;
      font-size: 2.8rem;
      line-height: 4rem;
    }

    .label {
      font-size: 1.8rem;
      line-height: 2rem;
    }

    .description {
      font-size: 1.25rem;
      line-height: 2rem;
      margin-top: 1.6rem;
    }

    .button {
      border-radius: 1.563rem;
      font-size: 1rem;
      font-weight: 500;
      margin-bottom: 2rem;
      display: inline-block;
      max-width: 12.5rem;
      padding: .75rem .625rem;
      line-height: 1.375rem;
      text-align: center;
      text-decoration: none;
      cursor: pointer;
      border: 2px solid var(--yellow-color);
      background-color: var(--yellow-color);
      margin-top: 4rem;
    }
  }

  .bannerImage {
    position: relative;
    width: 100%;
    padding-top: 20px;
    padding-left: 50px;
  }

  .background {
    position: absolute;
    width: 640px;
    height: 640px;
    left: -50px;
    top: -20px;
    -webkit-filter: blur(120px);
    filter: blur(120px);
    opacity: .6;

    &:before {
      content: "";
      position: absolute;
      width: 474px;
      height: 474px;
      border-radius: 50%;
      top: 132px;
      background-color: rgb(var(--semi-purple-5));
    }

    &:after {
      content: "";
      position: absolute;
      width: 474px;
      height: 474px;
      border-radius: 50%;
      left: 166px;
      background-color: rgb(var(--semi-indigo-5));
    }
  }
}
